package smartbus;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.example.myapplication.R;

public class NewrouteActivity extends AppCompatActivity {

    private ImageView but_lawyerList;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_newroute);
        initview();
        //返回
        but_bloak();
    }

    private void but_bloak() {
        but_lawyerList.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                NewrouteActivity.this.finish();
            }
        });
    }

    private void initview() {
        but_lawyerList = findViewById(R.id.but_lawyerList);
    }
}